<?php
namespace app\api\controller;

use app\common\model\LunwenChargeModel;
use app\common\service\ChargeService;
use app\index\model\LunwenTransactionRecordModel;
use app\index\model\ZhiniaoUserModel;
use app\lunwen\model\LunwenWordDocumentModel;

/**
 * Class Index
 * @package app\index\controller
 */
class Index extends Base
{



    public function publicKey(){
        $data = [
            'code' => 200,
            'msg'=> 'success',
            'data'=> [
              'publicKey' =>
'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBT2vr+dhZElF73FJ6xiP181txKWUSNLPQQlid6DUJhGAOZblluafIdLmnUyKE8mMHhT3R+Ib3ssZcJku6Hn72yHYj/qPkCGFv0eFo7G+GJfDIUeDyalBN0QsuiE/XzPHJBuJDfRArOiWvH0BXOv5kpeXSXM8yTt5Na1jAYSiQ/wIDAQAB',
            ],

        ];
        return json($data);
    }

    /**
     * 获取首页数据
     * @return mixed
     */
    public function getManageIndexData(){
        $this->checkUserLogin();
        $result = [];
        return $this->returnSuccess($result);
    }

}